﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using dominioEFprueba;
using System.Data.Entity;

namespace dominioEFprueba
{
    public class FactoryRepositorios<T,U> 
        where T:class
        where U:DbContext
    {

        public static IRepositorio<T,U> obtenerRepositorio()
        {            
            return Activator.CreateInstance<Repositorio<T,U>>();
        }

    }
}
